﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Adm/MasterPage.master" AutoEventWireup="true"
		CodeFile="GestioneUtenti.aspx.cs" Inherits="Adm_GestioneUtenti" %>

<%@ Register Assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
		Namespace="System.Web.UI.WebControls" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
		<table style="width: 100%">
				<tr>
						<td>
								Utenti nel db :
						</td>
						<td>
								<asp:Label ID="LabelNumUtenti" runat="server" Text="*"></asp:Label>
						</td>
				</tr>
								<tr>
						<td>
								Utenti online :
						</td>
						<td>
								<asp:Label ID="LabelUtentiOnLine" runat="server" Text="*"></asp:Label>
						</td>
						<td> </td>
				</tr>
				<tr>
						<td colspan="3">
								<asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
										Text="Vedi tutti" />
&nbsp;
								<asp:Button ID="Button2" runat="server" CommandArgument="1" 
										onclick="Button2_Click" Text="Vedi Abilitati" />
&nbsp;
								<asp:Button ID="Button3" runat="server" CommandArgument="0" 
										onclick="Button2_Click" Text="Vedi disabilitati" />
						</td>
				</tr>
				<tr>
						<td>
								&nbsp;
						</td>
						<td>
								
								<asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
										AllowSorting="True" AutoGenerateSelectButton="True" DataKeyNames="UserId" 
										BackColor="White" 
										BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
										GridLines="Vertical" onselectedindexchanged="GridView1_SelectedIndexChanged">
										<RowStyle BackColor="#EEEEEE" ForeColor="Black" />
										<FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
										<PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
										<SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
										<HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
										<AlternatingRowStyle BackColor="#DCDCDC" />
								</asp:GridView>
						</td>
						<td>
								<asp:CheckBoxList ID="ChkListRuoli" runat="server">
								</asp:CheckBoxList>
						 
						</td>
				</tr>
				<tr>
						<td>
						</td>
						<td>
								<ajax:TabContainer ID="tab" runat="server">
										<ajax:TabPanel ID="pan1" runat="server">
										<ContentTemplate>
												<asp:ListBox ID="ListBoxFindUtenti" runat="server" DataTextField="Descr" DataValueField="IdUtente"
														SelectionMode="Single" Rows="10" AutoPostBack="false" EnableViewState="true" 
														OnSelectedIndexChanged="ListBoxFindUtenti_SelectedIndexChanged"
														Width="240px"></asp:ListBox>
												<ajax:listsearchextender id="ListSearchExtender1" runat="server" targetcontrolid="ListBoxFindUtenti"
														issorted="true" querytimeout="2000" querypattern="Contains" prompttext="Digita per cercare"
														promptposition="Bottom">
            </ajax:listsearchextender>
												<asp:Button ID="ButtonShow" UseSubmitBehavior="false" BackColor="Transparent" Width="0"
														runat="server" OnClick="ButtonShow_Click" Text="" Visible="true" Enabled="true" />
													</ContentTemplate>	
										</ajax:TabPanel>
								</ajax:TabContainer>
						</td>
				</tr>
				<tr>
						<td>
								&nbsp;
						</td>
						<td>
								&nbsp;
						</td>
				</tr>
		</table>
		

</asp:Content>
